<script>
export default {
  name: "School",
  data() {
    return {
      schoolName: '尚硅谷',
      schoolAddress: '北京'
    }
  },
}
</script>

<template>
  <div>
    <div class="demo">
      <h1>学校名称：{{schoolName}}</h1>
      <h1>学校地址：{{schoolAddress}}</h1>

    </div>
  </div>
</template>

<style scoped>
  .demo {
    background: orange;
  }
</style>